package com.ruoyi.common.core.domain.model;


import javax.validation.constraints.NotEmpty;

public class TransInfo {
    //来源语言zh
   @NotEmpty
    String sourceLanguage;
   //目标语言en
    @NotEmpty
    String targetLanguage;
    //要翻译的原始文本
    @NotEmpty
    String sourceText;

    public String getSourceLanguage() {
        return sourceLanguage;
    }

    public void setSourceLanguage(String sourceLanguage) {
        this.sourceLanguage = sourceLanguage;
    }

    public String getTargetLanguage() {
        return targetLanguage;
    }

    public void setTargetLanguage(String targetLanguage) {
        this.targetLanguage = targetLanguage;
    }

    public String getSourceText() {
        return sourceText;
    }

    public void setSourceText(String sourceText) {
        this.sourceText = sourceText;
    }


}
